package com.example.typhoonproject.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.typhoonproject.dao.TyphoonMapper;
import com.example.typhoonproject.entity.TyphoonEntity;
import com.example.typhoonproject.service.TyphoonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class TyphoonServiceImpl extends ServiceImpl<TyphoonMapper, TyphoonEntity> implements TyphoonService {

    @Autowired
    private TyphoonMapper typhoonMapper;

    @Override
    public void updateStatus(String code, String status) {
        typhoonMapper.updateStatus(code, status);
    }
}
